From: Jonas Dreßler Date: Mon, 7 Mar 2022 11:11:06 +0000 (+0100) Subject: popupMenu: Fix usage of GRAB_NOTIFY ClutterEventFlag X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~480^2^2~87 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=64e4d5df48dc77d1a219b029d66bbf62907e01e0;p=gnome-shell.git popupMenu: Fix usage of GRAB_NOTIFY ClutterEventFlag Actually the flag gjs gives us here is called Clutter.EventFlags.FLAG_GRAB_NOTIFY, so fix that. Part-of: --- diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index f9f3a3b1a..83471030e 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -1374,7 +1374,7 @@ var PopupMenuManager = class { return Clutter.EVENT_STOP; } } else if (event.type() === Clutter.EventType.ENTER && - (event.get_flags() & Clutter.EventFlags.GRAB_NOTIFY) === 0) { + (event.get_flags() & Clutter.EventFlags.FLAG_GRAB_NOTIFY) === 0) { let hoveredMenu = this._findMenuForSource(targetActor); if (hoveredMenu && hoveredMenu !== menu)